Skip to content

fix: improve error message when sidecar and media arguments are swapped#41

Merged
felippemsc merged 2 commits intomainfrom
fix/swap-args-error-message
Feb 8, 2026
Merged

fix: improve error message when sidecar and media arguments are swapped#41
felippemsc merged 2 commits intomainfrom
fix/swap-args-error-message

Conversation

@felippemsc
Copy link
Contributor

Summary

  • Detect when a media file (.jpg, .jpeg, .png, .heic, .heif, .mp4, .mov) is passed as the sidecar argument
  • Show a clear error message suggesting the arguments may be swapped, with correct usage

Test plan

  • Swapped args shows helpful error: "Did you swap the arguments?"
  • Correct args still work normally

@felippemsc felippemsc merged commit 433da03 into main Feb 8, 2026
5 checks passed
@felippemsc felippemsc deleted the fix/swap-args-error-message branch February 8, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant